//
//  MSLocationManager.h
//  MSLocationDemo
//
//  Created by iOS on 2017/5/22.
//  Copyright © 2017年 MS. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AMapLocationKit/AMapLocationKit.h>

typedef void(^DidUpdateLocationBlock)(CLLocation *location, NSString *address);

@interface MSLocationManager : NSObject

@property (copy, nonatomic) DidUpdateLocationBlock block;

+ (MSLocationManager *)shareManager;


/**
 开始连续定位,并返回位置信息
 */
- (void)starUpdatingLocationWithHandle:(DidUpdateLocationBlock)block;
/**
 停止连续定位
 */
- (void)stopUpdatingLocation;

@end
